/**
 * @file Name: 9_test.cpp
 * @author: Fenghuwuyu
 * @version: 1.0
 * @brief:
 * @date: Sat 22 May 2021 02:30:58 AM PDT
 */

#include <iostream>
using namespace std;


template<typename T>
void g(T x)
{
	cout << x << " ";
}


void f()
{
	cout << "" << endl;
}

template<typename T, typename... Tail>
void f(T head, Tail... tail)
{
	g(head);
	f(tail...);
}


int main()
{
	f(1, 2, "N");

	return 0;
}

